package com.training1.api.exception;

import com.training1.core.dto.APIResultDto;

@SuppressWarnings("rawtypes")
public class ApiException extends RuntimeException{

	/**
	 * 
	 */
	private static final long serialVersionUID = -6407290324474452255L;
	
	
	public APIResultDto error;

	public APIResultDto getError() {
		return error;
	}
	
	
	public ApiException(APIResultDto a ){
		this.error = a;
	}
}
